Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve for multisite #105

Merged
merged 11 commits into from
Jan 24, 2020

Conversation

HirokazuNishi
Copy link
Collaborator

system.xml's definitions are specified as "store", but retrieving system configuration value functions don't have 2nd argument to specify scope. So if Magento users hope to use Magento under multi-site & multi-language environment without kana or Japanese style, they cannot disable kana and other Japanese specific configuration.

remove kana from customer name if they don't have the data.
added validation message into locale.
added translation against js validation.
update checkout template.
@lenaorobei
Copy link
Contributor

@magento run Unit Tests

@lenaorobei
Copy link
Contributor

@magento run Unit Tests

@lenaorobei
Copy link
Contributor

@magento run Static Tests


/**
* Use name widget that corresponds to Japanese traditions and contains kana fields.
*/
class Name
{
private $kanaFieldsConfig;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add PHPDoc block here.


/**
* Use name widget that corresponds to Japanese traditions and contains kana fields.
*/
class Name
{
private $kanaFieldsConfig;

public function __construct(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add PHPDoc block here.

@@ -68,4 +90,9 @@ private function walkChildren(array $component): array
}
return $component;
}

private function getStoreLocale()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add PHPDoc block here.

Copy link
Contributor

@lenaorobei lenaorobei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add missing PHPDoc blocks.

I wanted to commit these changes to your branch, but it turned out, I don't have access to do that.

@lenaorobei lenaorobei merged commit 78398d7 into magento:2.3-develop Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants